package com.jiazhong.cloud.example.student.student.feign;

import com.jiazhong.cloud.example.student.commons.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "cloud-example-student-course",path = "/course")
public interface CourseFeign {
    @GetMapping("/find_id/{id}")
    JsonResult findCourseById(@PathVariable("id") String id);
}
